package com.csx.springcloud.invoke.resttemplate.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
public class User {

    private String name;
    private Integer age;
    private City city;

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    @ToString
    public static class City {

        private String cityName;

        private String position;
    }
}